package com.ruoyi.transport.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 采购运输管理对象 purchase_transport
 * 
 * @author wkm
 * @date 2024/12/19
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PurchaseTransport
{
    private static final long serialVersionUID = 1L;

    /** 运输id */
    private Integer transportId;

    /** 运输方式 */
    @Excel(name = "运输方式")
    private String transportMode;

    /** 司机名字 */
    @Excel(name = "司机名字")
    private String transportDriver;

    /** 司机电话 */
    @Excel(name = "司机电话")
    private String transportDrivertel;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String transportCarnumber;

    /** 开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date transportStartdate;

    /** 结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date transportEnddate;

    /** 库房（id） */
    @Excel(name = "库房", readConverterExp = "i=d")
    private String transportStoragehouse;

    /** 订单id */
    @Excel(name = "订单id")
    private String transportOrdernumber;

    /** 0（未开始）1（完成） */
    @Excel(name = "0", readConverterExp = "未=开始")
    private Long transportState;

}
